CRAFTERCMS-578

Added check if component content file exist before flattening page xml