Gate Studios had exactly the same problem and one poor person had to sit on the roof during shooting and warn of trains approaching the station. Wonder what he got paid?
Gate kept its cinematic connections for a good long time as it was the home of Harkness, the cinema screen manufacturers, for many years after film production ceased.
The studios were finally demolished in 2006, whereupon the 'Centenary of Cinema' commemorative plaque which was on the building vanished during that process. There is now an expensive development of flats (apartments) on the site.
Gate Studios (from the railway station) as snapped by me back in February 1989. I always used to look out for the studio's sign on the curved roof whenever I rolled into Elstree by train...